<script type="text/javascript" language="javascript" src="<?php echo base_url('assets/js/products.js'); ?>"></script>
<div class="container">
    <div class="navbar-template text-center">
        <table id="list_products" class="display" cellspacing="0" width="100%">
    <thead>
        <tr>
            <th>Mã hàng hóa</th>
            <th>Tên hàng hóa</th>
            <th>Giá vốn</th>
            <th>Giá nhập lần cuối</th>
            <th>Giá mới</th>
            
        </tr>
    </thead>
     <tbody>
         <?php
         if($all_products){
         foreach ($all_products as $product) {
             
         ?>
        <tr>
            <td><?php echo $product->product_code ;  ?></td>
            <td><?php echo $product->product_name ?></td>
            <td><?php echo $product->sale_price ?></td>
            <td><?php echo $product->sale_price ?></td>
            <td><input type="text"/></td>
            
            
        </tr> 
         <?php
             }
         }
         ?>
        
     </tbody>
        </table>
        
    </div>
</div>

